package com.tanxi521.springboot.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "奖励内容",description = "增加奖励时传到后端的数据")
public class Rewards {
    private Integer id;

    private String rewardName;

    private String rewardDescription;

    private String rewardTag;

    private String rewardVipTag;

    private Byte rewardIsOn;

    private Integer rewardLimit;

    private String rewardMailboxFile;

    private String rewardImageUrl;

    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date createDate;

    private String rewardMoney;

    private String rewardPoint;

    private String rewardItem;
}